Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fire responding event for a request while transmitting a large post with block1 option. #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oloysance
Copy link

For a large GET with several block2, there is a Responding Event for every bloc exchange (each response block from the server).
I need to have the same approach for a large POST with Block1 specified : (each response block from the server too).
This way it is more effective to manage timeouts from the client that can reset the timeout as far as the server is responding ! (instead of having extra long timeout...).
What I have changed is :

  • Fire responding event for a request while transmitting a large post with block1 option if file Stack\BlockwiseLayer.cs and OSCOAP\SecureBlockwiseLayer.cs --> Please have look here to check if its the best place.
  • Modify ExampleClient and ExampleServer for testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant